<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ include file="/title.html" %>
</head>
<body>
<table width="100%">
<%@ include file="/header.html" %>
<tr><td align="center" height="300px">
<table>
<tr><td align="center" height="40px" colspan="2" valign="top"><h3>Registration</h3></td></tr>
<% if(request.getAttribute("message") != null) { %>
<tr><td align="center" style="color:red" colspan="2" height="40px" valign="top"><%= request.getAttribute("message") %></td></tr>
<% } %>

<form name="signUp" action="signUp" method="post">

<tr>
<td align="left">First Name:</td>

<td><input type="text" name="firstName" value="<%=request.getParameter("firstName")!=null?request.getParameter("firstName"):"" %>"></td>
</tr>
<tr>
<td align="left">Last Name:</td>
<td><input type="text" name="lastName" value="<%=request.getParameter("lastName")!=null?request.getParameter("lastName"):"" %>"></td>
</tr>
<tr>
<td align="left">Email Id: </td>
<td><input type="text" name="emailId" value="<%=request.getParameter("emailId")!=null?request.getParameter("emailId"):"" %>"></td>
</tr>
<tr>
<td align="left">Password: </td>
<td><input type="password" name="password" value=""></td>
</tr>
<tr>
<td align="left">Confirm Password: </td>
<td><input type="password" name="confirmPassword" value=""></td>
</tr>
<tr>
<td height="5px">
</td>
</tr>
<tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="register" value="Register">
<input type="reset" name="reset" value="Reset">
</td>
</tr>
</form>
<tr>
<td colspan="2" align="center">
<form name="cancel" action="signIn.jsp" method="post">
<input type="submit" name="cancel" value="Go Back and Sign In">
</form>
</td>
</tr>
</table>
</td>
</tr>
<%@ include file="/bottom.html" %>
</table>
</body>
</html>